package org.ns.framework.datasource.anns;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.ns.framework.datasource.config.DataSourceConfiguration;
import org.springframework.context.annotation.Import;

/**
 * 启用 Mybatis 多数据源方式
 * 
 * @author zhangxingyu
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.ANNOTATION_TYPE, ElementType.TYPE })
@Import(DataSourceConfiguration.class)
public @interface EnableDBDataSource {

}
